<?php

namespace Mql\GeoPoiBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Avoir
 *
 * @ORM\Table(name="avoir", indexes={@ORM\Index(name="fk_Lieu_has_Categorie_Categorie1_idx", columns={"Categorie_id"}), @ORM\Index(name="fk_Lieu_has_Categorie_Lieu1", columns={"Lieu_User_id"})})
 * @ORM\Entity
 */
class Avoir
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     */
    private $id;

    /**
     * @var \Lieu
     *
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     * @ORM\OneToOne(targetEntity="Lieu")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="Lieu_User_id", referencedColumnName="id")
     * })
     */
    private $lieuUser;

    /**
     * @var \Categorie
     *
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     * @ORM\OneToOne(targetEntity="Categorie")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="Categorie_id", referencedColumnName="id")
     * })
     */
    private $categorie;


}
